package com.yfp.machine.domain;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;

import java.io.Serializable;
import java.util.Date;

/**
 * (Order)实体类
 *
 * 
 * @since 2023-12-14 14:39:53
 */
@Schema(title = "订单管理")
public class OrderList implements Serializable {
    private static final long serialVersionUID = -36352504421121591L;
    /**
     * 订单编号
     */
    @Schema(title = "订单编号")
    private String orderSn;
    /**
     * 订单时间
     */
    @Schema(title = "订单时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date orderTime;
    /**
     * 下单用户
     */
    @Schema(title = "下单用户")
    private String userName;
    /**
     * 用户联系方式
     */
    @Schema(title = "用户联系方式")
    private String userMobile;
    /**
     * 支付金额
     */
    @Schema(title = "支付金额")
    private String amt;
    /**
     * 退款单号
     */
    @Schema(title = "退款单号")
    private String refundSn;
    /**
     * 退款金额
     */
    @Schema(title = "退款金额")
    private String refundAmt;
    /**
     * 退款时间
     */
    @Schema(title = "退款时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date refundTime;
    /**
     * 退款原因
     */
    @Schema(title = "退款原因")
    private String refundReason;
    /**
     * 支付宝/微信交易号
     */
    @Schema(title = "支付宝/微信交易号")
    private String payTradeNo;
    /**
     * 支付方式（1：支付宝 2：微信）
     */
    @Schema(title = "支付方式（1：支付宝 2：微信）")
    private Integer payType;
    /**
     * 订单状态（1：未支付 2：已取餐 3：已完成 4：已退款 5：异常）
     */
    @Schema(title = "订单状态（1：未支付 2：已取餐 3：已完成 4：已退款 5：异常）")
    private Integer payStatus;
    /**
     * 支付时间
     */
    @Schema(title = "支付时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date payTime;
    /**
     * 套餐id
     */
    @Schema(title = "套餐id")
    private String comboId;
    /**
     * 套餐名称
     */
    @Schema(title = "套餐名称")
    private String comboName;
    /**
     * 套餐标签
     */
    @Schema(title = "套餐标签")
    private String comboTag;
    /**
     * 设备id
     */
    @Schema(title = "设备id")
    private String machineId;
    /**
     * 货道号
     */
    @Schema(title = "货道号")
    private String machineRoadNo;
    /**
     * 公司id
     */
    @Schema(title = "公司id")
    private String companyId;
    /**
     * 公司名称
     */
    @Schema(title = "公司名称")
    private String companyName;
    /**
     * 区域id
     */
    @Schema(title = "区域id")
    private String areaId;
    /**
     * 区域名称
     */
    @Schema(title = "区域名称")
    private String areaName;
    /**
     * 线路id
     */
    @Schema(title = "线路id")
    private String routeId;
    /**
     * 线路名称
     */
    @Schema(title = "线路名称")
    private String routeName;
    /**
     * 点位id
     */
    @Schema(title = "点位id")
    private String positionId;
    /**
     * 点位名称
     */
    @Schema(title = "点位名称")
    private String positionName;
    /**
     * 设备地址
     */
    @Schema(title = "设备地址")
    private String positionAddr;
    /**
     * 取餐码
     */
    @Schema(title = "取餐码")
    private String checkCode;
    /**
     * 订单备注
     */
    @Schema(title = "订单备注")
    private String remark;
    /**
     * 异常原因
     */
    @Schema(title = "异常原因")
    private String exceptionReason;
    /**
     * 标记异常时间
     */
    @Schema(title = "标记异常时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date exceptionTime;
    /**
     * 异常标记操作人
     */
    @Schema(title = "异常标记操作人")
    private String exceptionOper;


    public String getOrderSn() {
        return orderSn;
    }

    public void setOrderSn(String orderSn) {
        this.orderSn = orderSn;
    }

    public Date getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(Date orderTime) {
        this.orderTime = orderTime;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserMobile() {
        return userMobile;
    }

    public void setUserMobile(String userMobile) {
        this.userMobile = userMobile;
    }

    public String getAmt() {
        return amt;
    }

    public void setAmt(String amt) {
        this.amt = amt;
    }

    public String getRefundSn() {
        return refundSn;
    }

    public void setRefundSn(String refundSn) {
        this.refundSn = refundSn;
    }

    public String getRefundAmt() {
        return refundAmt;
    }

    public void setRefundAmt(String refundAmt) {
        this.refundAmt = refundAmt;
    }

    public Date getRefundTime() {
        return refundTime;
    }

    public void setRefundTime(Date refundTime) {
        this.refundTime = refundTime;
    }

    public String getRefundReason() {
        return refundReason;
    }

    public void setRefundReason(String refundReason) {
        this.refundReason = refundReason;
    }

    public String getPayTradeNo() {
        return payTradeNo;
    }

    public void setPayTradeNo(String payTradeNo) {
        this.payTradeNo = payTradeNo;
    }

    public Integer getPayType() {
        return payType;
    }

    public void setPayType(Integer payType) {
        this.payType = payType;
    }

    public Integer getPayStatus() {
        return payStatus;
    }

    public void setPayStatus(Integer payStatus) {
        this.payStatus = payStatus;
    }

    public Date getPayTime() {
        return payTime;
    }

    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }

    public String getComboId() {
        return comboId;
    }

    public void setComboId(String comboId) {
        this.comboId = comboId;
    }

    public String getComboName() {
        return comboName;
    }

    public void setComboName(String comboName) {
        this.comboName = comboName;
    }

    public String getComboTag() {
        return comboTag;
    }

    public void setComboTag(String comboTag) {
        this.comboTag = comboTag;
    }

    public String getMachineId() {
        return machineId;
    }

    public void setMachineId(String machineId) {
        this.machineId = machineId;
    }

    public String getMachineRoadNo() {
        return machineRoadNo;
    }

    public void setMachineRoadNo(String machineRoadNo) {
        this.machineRoadNo = machineRoadNo;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getAreaId() {
        return areaId;
    }

    public void setAreaId(String areaId) {
        this.areaId = areaId;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public String getRouteId() {
        return routeId;
    }

    public void setRouteId(String routeId) {
        this.routeId = routeId;
    }

    public String getRouteName() {
        return routeName;
    }

    public void setRouteName(String routeName) {
        this.routeName = routeName;
    }

    public String getPositionId() {
        return positionId;
    }

    public void setPositionId(String positionId) {
        this.positionId = positionId;
    }

    public String getPositionName() {
        return positionName;
    }

    public void setPositionName(String positionName) {
        this.positionName = positionName;
    }

    public String getPositionAddr() {
        return positionAddr;
    }

    public void setPositionAddr(String positionAddr) {
        this.positionAddr = positionAddr;
    }

    public String getCheckCode() {
        return checkCode;
    }

    public void setCheckCode(String checkCode) {
        this.checkCode = checkCode;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getExceptionReason() {
        return exceptionReason;
    }

    public void setExceptionReason(String exceptionReason) {
        this.exceptionReason = exceptionReason;
    }

    public Date getExceptionTime() {
        return exceptionTime;
    }

    public void setExceptionTime(Date exceptionTime) {
        this.exceptionTime = exceptionTime;
    }

    public String getExceptionOper() {
        return exceptionOper;
    }

    public void setExceptionOper(String exceptionOper) {
        this.exceptionOper = exceptionOper;
    }

}

